DioDocs for PDF
DrawPolygon(PointF[],Color,Single,Single[]) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawPolygon メソッド : DrawPolygon(PointF[],Color,Single,Single[]) メソッド
An array of points specifying the polygon.
The line color.
The line width.
The dash pattern.
Draws a polygon specified by an array of points, using a specified line color, width and dash pattern.

If the dashPattern array contains two or more items, the polygon is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

シンタックス
'宣言
 
Public Overloads Sub DrawPolygon( _
   ByVal points() As System.Drawing.PointF, _
   ByVal lineColor As System.Drawing.Color, _
   ByVal lineWidth As System.Single, _
   ByVal dashPattern() As System.Single _
) 
public void DrawPolygon( 
   System.Drawing.PointF[] points,
   System.Drawing.Color lineColor,
   System.float lineWidth,
   System.float[] dashPattern
)

パラメータ

points
An array of points specifying the polygon.
lineColor
The line color.
lineWidth
The line width.
dashPattern
The dash pattern.
参照

GcGraphics クラス
GcGraphics メンバ
オーバーロード一覧